package com.crr.mongodb.bean;

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@Document(collection = "pet")
@Accessors(chain = true)
public class Pet {
    private Integer id;
    private String name;

}
